package com.haikesi.api.mode.domain.po;

import com.haikesi.api.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Table;

@Data
@EqualsAndHashCode(callSuper = false)
@Table(name = "mode_device")
public class ModeDevicePO extends BaseEntity {

    /**
     * 设备所属模式（此ID表示平台模式表的主键ID）
     */
    @Column(name = "platform_mode_id")
    private String platformModeId;

    /**
     * 设备类型码
     */
    @Column(name = "product_code")
    private String productCode;

    /**
     * 设备所属账号
     */
    @Column(name = "device_subscriber_number")
    private String deviceSubscriberNumber;

    /**
     * 订阅账号ID
     */
    @Column(name = "device_subscriber_id")
    private String deviceSubscriberId;

    /**
     * 设备mac地址
     */
    @Column(name = "device_mac")
    private String deviceMac;

    /**
     * 设备序列号
     */
    @Column(name = "serial_num")
    private String serialNum;

    /**
     * 设备名称
     */
    @Column(name = "device_name")
    private String deviceName;

    /**
     * 操作名
     */
    @Column(name = "cmd_key")
    private String cmdKey;

    /**
     * 操作值
     */
    @Column(name = "cmd_value")
    private String cmdValue;

    /**
     * 操作参数名
     */
    @Column(name = "controlParams_key")
    private String controlparamsKey;

    /**
     * 操作参数值
     */
    @Column(name = "controlParams_value")
    private String controlparamsValue;

}